import { getCrudApi } from "@/utils/http/crud.ts";

export interface DepartmentDto {
  id?: string;
  name: string | null;
  leader: string | null;
  parentId: string | null;
  remark: string | null;
  children?: DepartmentDto[];
}
export default getCrudApi<DepartmentDto>("department");
